package org.contato.dao;

import org.contato.dao.UsuarioDAO;
import org.contato.entity.Usuario;
import org.hibernate.SessionFactory;
import org.sharkness.business.support.ModelDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

@Repository(value="usuarioDAO")
public class UsuarioDAO extends ModelDAO<Usuario> {

	@Autowired
	public UsuarioDAO(@Qualifier(value="sessionFactory")SessionFactory sessionFactory) {
		super(Usuario.class, sessionFactory);
	}

}